<!--河南星辰软件科技有限公司
@copyright Copyright (c) 2010~2022 All rights reserved.
-->
<template>
  <div class='app-container'>
    <el-form ref="form" :model="product_list" :rules="rules" label-width="100px" id="mvcfm">
      <div class="form-unit">
        <span class="mvc-title-left"> 产品统计 </span>
      </div>
      <el-table :data="product_list">
        <el-table-column label="自制件条形码" prop="product_barcode">
        </el-table-column>
        <el-table-column label="自制件名称" prop="product_name">
        </el-table-column>
        <el-table-column label="自制件型号" prop="product_model">
        </el-table-column>
        <el-table-column label="自制件规格" prop="product_norm">
        </el-table-column>
        <el-table-column label="自制件状态简述" prop="product_des">
        </el-table-column>
        <el-table-column label="开始日期" prop="Product_begindate">
        </el-table-column>
        <el-table-column label="有效期限" prop="">
        </el-table-column>
        <el-table-column label="可交易性" prop="">
        </el-table-column>
      </el-table>
    </el-form>
  </div>
</template>
<script>
  import request from '@/utils/request'
  export default {
    name: 'ProductOwnList',
    components: {},
    props: ['popparams'],
    data() {
      return {
        vueparams: this.getVUEParams(""),
        product_list: [],
        loading: false,
        rules: {}
      }
    },
    created() {
      this.getData();
    },
    updated() {},
    mounted() {},
    methods: {
      getData() {
        request({
          method: 'get',
          url: '/xcapi/VUEAction/psi/product/ProductOwnAction/productOwnList?' + this.vueparams,
        }).then(data => {
          for (var k in data) {
            if (Array.isArray(data[k])) {
              this[k] = data[k];
            } else {
              $.extend(this[k], data[k]);
            }
          }
        })
      },
    },
  }
</script>
